/status/system/interface/<intf_name>/carp//ip

The nodes below this one perform the functions described in this function overview.

Use

Use to view the IP address information for this interface and CARP group.

Parameters

intf_name: Name of interface

vhid: Virtual Host ID (VHID) used to identify the CARP group

Data Type

subtree

Request Methods

GET

Examples

GET

curl -b cookie.jar -k https://10.1.2.3:8443/lrs/api/v1.0/status/system/interface/em1/carp/1/ip

GET Response

{"/status/system/interface/em1/carp/1/ip": {"data": None,
                                             "default": False,
                                             "defaultAllowed": False,
                                             "deleteAllowed": False,
                                             "numChildren": 1,
                                             "type": "subtree"},
 "httpResponseCode": 200,
 "recurse": False,
 "requestPath": "/status/system/interface/em1/carp/1/ip"}

GET (list children)

curl -b cookie.jar -k https://10.1.2.3:8443/lrs/api/v1.0/status/system/interfa ce/em1/carp/1/ip?op=list

GET Response

{"/status/system/interface/em1/carp/1/ip": {"children": {"/status/system/interface/em1/carp/1/ip/addrMask": {"default": False,
                                                                                                                "defaultAllowed": False,
                                                                                                                "deleteAllowed": False,
                                                                                                                "numChildren": 0,
                                                                                                                "type": "subtree"}},
                                             "default": False,
                                             "defaultAllowed": False,
                                             "deleteAllowed": False,
                                             "numChildren": 1,
                                             "type": "subtree"},
 "httpResponseCode": 200,
 "recurse": False,
 "requestPath": "/status/system/interface/em1/carp/1/ip"}

GET (recursively list children)

curl -b cookie.jar -k https://10.1.2.3:8443/lrs/api/v1.0/status/system/interfa ce/em1/carp/1/ip?level=recurse

  1. /status/system/interface/<intf_name>/carp//ip 1. Parameters
    1. Data Type 2. Request Methods 3. Related 4. Examples